package simple.example;

class OuterClass1
{
	private static final int Size = 10; 
	private int count = 0;
	private int[] IntigerArray = {5, 13, 8, 89, 52, 24, 65, 80, 34, 26 };
	
	public void SortArray()
	{
		while (count <Size-1 )
		{
			int TempElement = 0,next;
			for(next = 0; next < (Size - count); next++)
				try{
				if(IntigerArray[next] > IntigerArray[next+1])
				{
					TempElement 		 = IntigerArray[next];
					IntigerArray[next]   = IntigerArray[next+1];
					IntigerArray[next+1] = TempElement; 
				}
				}catch (Exception e) {
					e.printStackTrace();
				}
				count++;
		}
		for(count = 0; count < Size; count++)
			System.out.println(IntigerArray[count]);
	}
}
	

class CallOuterClass1 
{
	public static void main(String[] args)
	{
		OuterClass1 OuterObject = new OuterClass1();
		OuterObject.SortArray();
	}
}
